package com.jinxin.platform.cdfaceacs.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
public class AcsControlSysParamVO {

    private String acsSysParamId;
    @NotBlank(message = "参数键值不能为空")
    private String paramKey;
    @NotBlank(message = "参数名称不能为空")
    private String paramName;
    @NotBlank(message = "参数值不能为空")
    private String paramVal;
    @NotBlank(message = "参数信息不能为空")
    private String paramInfo;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;


}